package com.liangzhong.events
{
	/**
	 *交易中心事件 
	 * @author lxh
	 */	
	public class TradeEvent extends ModuleEvent
	{
		public function TradeEvent(type:String,
								  param :Object = null,
								  bubbles:Boolean = false,
								  cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
			this.param = param;
		}
		/**
		 *刷新球员 
		 */
		public static const NORMALUPDATAPLAYER:String = "normalupdataplayer";
		/**
		 *立即刷新球员 
		 * {type:2} type:1为立即刷新 type:2为超级刷新
		 */
		public static const IMMEDIATEUPDATAPLAYER:String = "immediateupdataplayer";
		/**
		 *雇用球员  
		 */
		public static const EMPLOYPLAYER:String = "employplayer";
		/**
		 *投放 数据
		 */
		public static const SALES_PLAYER:String = "sales_player";
		/**
		 *开始投放 
		 * 
				this.dispatchEvent(new TradeEvent(TradeEvent.START_SALES_PLAYER,{pid:_selectItme.salesPlayerVo.id,
				type:type,biddingprice:int(_baseprice.text),fixedprice:int(_fixedprice.text)}
		 */
		public static const START_SALES_PLAYER:String = "START_SALES_PLAYER"; 
		/**
		 *请求市场信息 {orderby:"biddingprice",orderway:"asc",page:1}
		 */
		public static const TRADE_MARKET_INFO:String = "trade_market_info";
		/**
		 *关注 
		 */
		public static const TRADE_ATTENTION:String = "trade_Attention";
		/**
		 *竞拍 
		 */
		public static const TRADE_AUCTION:String = "trade_auction";
		/**
		 *一口价 
		 */
		public static const TRADE_FIXED:String = "trace_fixed";
		
		/**
		 *请求竞拍信息 
		 */
		public static const TRADE_AUCTION_INFO:String = "trade_auction_info";
		/**
		 *请求我的商品信息 
		 */
		public static const TRADE_MYPRODUCT_INFO:String = "trade_myproduct_info";
		/**
		 *请求关注信息 
		 */
		public static const TRADE_ATTENTION_INFO:String = "trade_attention_info";
		/**
		 *取消关注 
		 */
		public static const CANCEL_ATTENTION:String = "cancel_attention";
		/**
		 *球员下架 
		 */
		public static const CANCEL_PLAYER_PRODUCT:String = "cancel_player_product";
		
		
		
		
	}
}